package cn.bdqn.hospital.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * 预约表
 */
public class Userorder implements Serializable {
    private Integer orderId;    //	预约id
    private Integer hzId;       // 患者id
    private Integer ksId;       // 科室id
    private Integer ygId;       // 医生id
    private Integer ddId;       // 缴费id
    private LocalDateTime orderDate;  // 挂号时间
    private LocalDateTime signDate;   // 签到时间
    /**
     * 无参构造函数
     */
    public Userorder(){

    }
    /**
     * 有参构造函数
     * 预约id   患者id   科室id  医生id 缴费id 挂号时间
     */
    public Userorder(Integer orderId,Integer hzId,Integer ksId,Integer ygId,Integer ddId,LocalDateTime orderDate,LocalDateTime signDate){
        this.orderId = orderId;
        this.hzId = hzId;
        this.ksId = ksId;
        this.ygId = ygId;
        this.ddId = ddId;
        this.orderDate = orderDate;
        this.signDate = signDate;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getHzId() {
        return hzId;
    }

    public void setHzId(Integer hzId) {
        this.hzId = hzId;
    }

    public Integer getKsId() {
        return ksId;
    }

    public void setKsId(Integer ksId) {
        this.ksId = ksId;
    }

    public Integer getYgId() {
        return ygId;
    }

    public void setYgId(Integer ygId) {
        this.ygId = ygId;
    }

    public Integer getDdId() {
        return ddId;
    }

    public void setDdId(Integer ddId) {
        this.ddId = ddId;
    }

    public LocalDateTime getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(LocalDateTime orderDate) {
        this.orderDate = orderDate;
    }

    public LocalDateTime getSignDate() {
        return signDate;
    }

    public void setSignDate(LocalDateTime signDate) {
        this.signDate = signDate;
    }

    @Override
    public String toString() {
        return "Userorder{" +
                "orderId=" + orderId +
                ", hzId=" + hzId +
                ", ksId=" + ksId +
                ", ygId=" + ygId +
                ", ddId=" + ddId +
                ", orderDate=" + orderDate +
                ", signDate=" + signDate +
                '}';
    }
}
